/* 头部 */
header{
    width: 100%;
    height: 100px;
    background:#e9546b;
    position: fixed;
    top: 0;
    z-index: 9999999;
    /* position: relative; */
}

header .wrapper{
    width: 1170px;
    height: 100px;
    margin:auto;
    position: relative;
}

header h1{
    float: left;
   padding-top: 25px;
}
header nav{
    float: left;
    margin-left: 20px;
    margin-top: 50px;
    height: 22px;
    line-height: 22px;
}
// header nav li a:hover{
//     color: #fff;
//     text-decoration: none;
//     line-height: 22px;
//     border: 1px solid #fff;
// }
header nav li .active{
 
    border: 1px solid #fff;
  
}
header ul li a{ 
    color: white;
    text-align: center;
    
}
header ul li a:hover{
    text-decoration: none;
    color: black;
}
header ul li{
    float: left;
    height: 22px;
    display: block;
    margin-left: 5px;
    // width: 80px;
   
}

header ul li .sub{
    position: relative;
}
header ul li .cha{
    position: relative;
}

/* 隐藏 */
header  .subnav{
    display: none;
 }
 header .chanav{
    display: none;
 }
 header .vipnav{
    display: none;
 }
 /* 显示 */
 header  .sub:hover .subnav{
    display: block;
    position: absolute;
    top: 73px;
    left: 310px;
    z-index: 99999;
    width: 148px;
    background-color: #fff;
    border: 1px solid #e9546b;
    border-top: none;
    border-radius: 0 0 2px 2px;
}
header  .cha:hover .chanav{
    display: block;
    position: absolute;
    top: 73px;
    left: 490px;
    z-index: 99999;
    width: 148px;
    background-color: #fff;
    border: 1px solid #e9546b;
    border-top: none;
    border-radius: 0 0 2px 2px;
}
header  .vip:hover .vipnav{
    display: block;
    position: absolute;
    top: 73px;
    left: 580px;
    z-index: 99999;
    width: 148px;
    background-color: #fff;
    border: 1px solid #e9546b;
    border-top: none;
    border-radius: 0 0 2px 2px;
}
 header ul li .subnav li{
    width: 100%;
    height: 40px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    color: #505050; 
 }
 header ul li .chanav li{
    width: 100%;
    height: 40px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    color: #505050; 
 }
 header ul li .vipnav li{
    width: 100%;
    height: 40px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    color: #505050; 
 }
 header ul li .subnav li:hover{
    position: relative;
    border-top-color: #fff;
    background-color: #ed7689;
    color: #fff; 
 }
 header ul li .chanav li:hover{
    position: relative;
    border-top-color: #fff;
    background-color: #ed7689;
    color: #fff; 
 }
 header ul li .vipnav li:hover{
    position: relative;
    border-top-color: #fff;
    background-color: #ed7689;
    color: #fff; 
 }
 header ul li .subnav li:hover:after{
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
    width: 6px;
    height: 11px;
    content: '';
    background-image: url("images/icon_arrow_right_white.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center; 
 }
 header ul li .chanav li:hover:after{
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
    width: 6px;
    height: 11px;
    content: '';
    background-image: url("images/icon_arrow_right_white.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center; 
 }
 header ul li .vipnav li:hover:after{
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
    width: 6px;
    height: 11px;
    content: '';
    background-image: url("images/icon_arrow_right_white.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center; 
 }
 header ul li .subnav li a{
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    margin-left: 0;
    color: inherit;
 }
 header ul li .chanav li a{
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    margin-left: 0;
    color: inherit;
 }
 header ul li .vipnav li a{
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    margin-left: 0;
    color: inherit;
 }
header .log_reg{
    position: absolute;
    top: 0px;
    right: -16px;
    color: #ffffff;
    cursor: pointer;
    
}

/* .navbar{
    position: absolute;
    right: 0;
}
.dropdown-menu{
    position: absolute;
    top: 40px;
    width: 100px;
    right: -20px;
} */


header .log_reg a{
    color: #ffffff;
}
header .log_reg span div{
    position: relative;
}

header .choose {
  
    position: absolute;
    top: 60px;
    right: 0;
}
header .choose a{
    display: inline-block;
    color: #ffffff;
    
}
header .choose a:hover{
    text-decoration: none;
}
header .choose img{
    padding:0 30px;
    display: inline-block;
}
header .choose span{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: yellow;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    position: absolute;
    top: 0px;
    right: 60px;
    color: black;
}
.out p{
    width: 100px;
    height: 30px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 28px;
    text-align: center;
    line-height: 30px;
    display: none;
}
.out p a{
    color: black;
    text-decoration: none;
}